package com.example.software.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;

/**
 * 
 * 
 * @author wxy
 * @email wxy9496099@163.com
 * @date 2024-10-28 10:54:37
 */
@Data
@TableName("workday")
public class WorkdayEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键ID
	 */
	@TableId
	@ApiModelProperty(value = "主键ID")
	private Long id;
	/**
	 * 医生id
	 */
	@ApiModelProperty(value = "医生id")
	private Long doctorId;
	/**
	 * 医生工作日，星期几
	 */
	@ApiModelProperty(value = "医生工作日，星期几")
	private String workTime;


//	private String weekTime;


	/**
	 * 医生工作日的上午或下午
	 */
	@ApiModelProperty(value = "医生这天上午或下午")
	private Integer ampm;
	/**
	 * 医生这天上午或下午的号源数
	 */
	@ApiModelProperty(value = "医生这天上午或下午的号源数")
	private Integer nsNum;
	/**
	 * 状态：已满，预约，停诊
0:已满
1:预约
2:停诊
	 */
	@ApiModelProperty(value = "状态：已满，预约，停诊")
	private Integer state;

	@ApiModelProperty(value = "科室id")
	private Long departmentId;

}
